package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Obu0015Mapper;
import com.ruoyi.system.domain.Obu0015;
import com.ruoyi.system.service.IObu0015Service;

/**
 * Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-03
 */
@Service
public class Obu0015ServiceImpl implements IObu0015Service 
{
    @Autowired
    private Obu0015Mapper obu0015Mapper;

    /**
     * 查询
     * 
     * @param id 主键
     * @return 
     */
    @Override
    public Obu0015 selectObu0015ById(Long id)
    {
        return obu0015Mapper.selectObu0015ById(id);
    }

    @Override
    public Obu0015 selectObu0015ByB4Id(Long id)
    {
        return obu0015Mapper.selectObu0015ByB4Id(id);
    }

    /**
     * 查询列表
     * 
     * @param obu0015 
     * @return 
     */
    @Override
    public List<Obu0015> selectObu0015List(Obu0015 obu0015)
    {
        return obu0015Mapper.selectObu0015List(obu0015);
    }

    /**
     * 新增
     * 
     * @param obu0015 
     * @return 结果
     */
    @Override
    public int insertObu0015(Obu0015 obu0015)
    {
        return obu0015Mapper.insertObu0015(obu0015);
    }

    /**
     * 修改
     * 
     * @param obu0015 
     * @return 结果
     */
    @Override
    public int updateObu0015(Obu0015 obu0015)
    {
        return obu0015Mapper.updateObu0015(obu0015);
    }

    /**
     * 批量删除
     * 
     * @param ids 需要删除的主键
     * @return 结果
     */
    @Override
    public int deleteObu0015ByIds(Long[] ids)
    {
        return obu0015Mapper.deleteObu0015ByIds(ids);
    }

    /**
     * 删除信息
     * 
     * @param id 主键
     * @return 结果
     */
    @Override
    public int deleteObu0015ById(Long id)
    {
        return obu0015Mapper.deleteObu0015ById(id);
    }
}
